package net.xfok.games.xgame;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.TextView;

public class XGame extends Activity {
	private static final String TAG="XGame";
	
	private XGameView xGameView;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        // No Title bar
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main);
        xGameView=(XGameView)findViewById(R.id.xgame) ;
        xGameView.setTextView((TextView)findViewById(R.id.text));
        xGameView.setMode(XGameView.READY);
    }
}